package cn.cdyx.common.interceptor;

import org.springframework.web.servlet.DispatcherServlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author Watermelon
 * @Date 2023-02-09 18:46
 * 自定义DispatcherServlet来分发SystemHttpServletRequestWrapper
 */
public class SystemDispatcherServlet extends DispatcherServlet {
    @Override
    protected void doDispatch(HttpServletRequest request, HttpServletResponse response) throws Exception {
        super.doDispatch(new SystemHttpServletRequestWrapper(request), response);
    }
}
